<template>
  <div id="app">
   
    <router-view></router-view>
  </div>
</template>
<script>
export default{
  created() {
		/**
		 * 刷新菜单数据丢失，原因，菜单是动态路由动态加载
		 */
		
		let user = this.$store.getters.userlist;

		if (user && user.role_id) {
			this.$store.dispatch('saveMenu', user.role_id)
		}
	}
}
</script>

<style >
/* @import url('@/Ulits/reset.css'); */
*{
  margin: 0;
  padding: 0;
}
</style>
